package com.shop.flowershopmanager.dao;

import com.shop.flowershopmanager.entity.SalesRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface SalesRecordDao {

    /// 查询
    public List<SalesRecord> querySalesRecord(@RequestParam("sId")Integer sId);

    /// 删除
    public int deleteSalesRecordById(int id);

    /// 添加
    public int insertSalesRecord(SalesRecord salesRecord);

    /// 修改
    public int updateSalesRecord(SalesRecord salesRecord);
}
